import Vue from 'vue'
import { store } from './store'
import { globalMixin } from './mixin/globalMixin'
import App from './App'
import { moneyToFixed, makeAbsoluteImageUrl} from 'utils/filters'

Vue.config.productionTip = false

Vue.filter('moneyToFixed', moneyToFixed);
Vue.filter('makeAbsoluteImageUrl', makeAbsoluteImageUrl);

Vue.mixin(globalMixin);

if (process.env.NODE_ENV === 'production') {
  console.log = () => { }
}

App.mpType = 'app'

const app = new Vue({
  ...App,
  store,
})
app.$mount()
